|
|
|
|
|
|
|
Figure A.7
You can add controls to the Toolbox
by using the Components dialog box. |
|
|
|
|
| |
|
|
|
|
You can also access the Components dialog box by right-clicking the Toolbox and then selecting the Components item from the pop-up context-sensitive menu. |
|
|
|
|
|
|
|
|
|
|
By default, all the components for your project appear in the Toolbox in one big group. However, if you use a lot of controls, managing all of them can be very difficult. To help with this problem, Visual Basic allows you to add tabs to the Toolbox. (It has one tab, General, by default.) To add a tab, right-click the Toolbox, select Add Tab from the pop-up context-sensitive menu, and give the new tab a name. You can then move controls from one tab to another and group your controls in the way that is most convenient to you. Figure A.8 shows the Toolbox with a Grid Controls tab added to it. |
|
|
|
|
|
|
|
|
Figure A.8
A handy feature in Visual Basic 6
enables you to group control tools
using custom tabs in the Toolbox. |
|
|
|
|
|
|
|
|
The Canvas of Your Programs |
|
|
|
|
|
|
|
|
The windows you design in your Visual Basic programs are known as forms. You can think of the form as an artist's canvas. You use elements in the Toolbox to "draw" your user interface on a form. |
|
|
|
|
|